Repository navigation
fix(pr-verify): allow the fallback-credit-2 beta through the capture's key proxy - #13886
Conversation
…s key proxy Refs: #13710 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RMa441b9qec43NvaTyiY2Z
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
claude-review reviewed Code review: no findingsI read both changed files in full.
Closing issue. The PR says Not verified by me. The 403 transcripts, the 16–21% failure rate, Spend. The change spends only prepaid API credit: captures that used to fail at "Check the probe" will now run to the end. The PR states extra usage is off on every account. That is not a cost hold. No manifest changes, no matching |
|
claude-security-review reviewed Security review: PR #13886I found no security issues. I read both changed files in full: the What changed. The PR adds Trust-control check. This file is a trusted path. The edited key is not one of the lane-slot, activity-effect or
What it spends. The PR says it doesn't know what the beta does upstream, and I couldn't verify that either. Its name suggests a credit or billing effect. Even so, each run's spend is still capped by the proxy's per-job budget: No instruction text, plugin manifest, workflow or merge-hold file changed. The PR text contains no embedded directives aimed at this lane. This is the first review of this PR (blocking only: no), and there are no earlier findings. critical-findings: 0 |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RMa441b9qec43NvaTyiY2Z
Refs: #13710
Summary
pr-verify-capture fails at "Check the probe" in about 16-21% of runs (hub measurement, ledger L404: 5 of 32, then 6 of 28). Sorting the errored probe transcripts in the lane-transcript sink by result:
Failed to authenticate. API Error: 403 anthropic-beta values not allowed through this proxy: fallback-credit-2.400 Credit balance is too low, from the key before its swap.Claude Code sends
fallback-credit-2on some requests only, which fits the intermittent rate. The proxy refuses any beta its measuredbetaslist does not hold (key-proxy.mjs:291-300). pr-verify runs that call the API directly with the same key succeed, which is why only the capture path fails.Fix
docs/conventions/pr-pipeline.yaml:fallback-credit-2is added tomerge.verify-capture.proxy.betas. This is the route the proxy names for it: "add them to the config betas list to allow them" (key-proxy.mjs:299)..changes/pr-pipeline/: a patch fragment.What the beta does upstream is UNVERIFIED. Claude Code sets it itself, and the lanes that bypass the proxy already send it. Extra usage is off on every account, so a credit-related beta cannot bill.
Verification
scripts/check-affected.sh --tests: 11 passed, 116 skipped.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01RMa441b9qec43NvaTyiY2Z